package com.gollum.system.domain.request;

import cloud.tianai.captcha.validator.common.model.dto.ImageCaptchaTrack;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;
import java.util.List;

/**
 * 校验验证码参数请求对象
 *
 * @author Herther
 * @version 1.0.0
 * @createTime 2022年08月28日 22:51:00
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "校验验证码请求对象")
public class CaptchaRequest {

    /** 背景图片宽度. */
    @ApiModelProperty(value = "背景图片宽度",name = "bgImageWidth")
    private Integer bgImageWidth;

    /** 背景图片高度. */
    @ApiModelProperty(value = "背景图片高度",name = "bgImageHeight")
    private Integer bgImageHeight;

    /** 滑块图片宽度. */
    @ApiModelProperty(value = "滑块图片宽度",name = "sliderImageWidth")
    private Integer sliderImageWidth;

    /** 滑块图片高度. */
    @ApiModelProperty(value = "滑块图片高度",name = "sliderImageHeight")
    private Integer sliderImageHeight;

    /** 滑动开始时间. */
    @ApiModelProperty(value = "滑动开始时间",name = "startSlidingTime")
    private Date startSlidingTime;

    /** 滑动结束时间. */
    @ApiModelProperty(value = "滑动结束时间",name = "endSlidingTime")
    private Date endSlidingTime;
    /** 滑动的轨迹. */
    @ApiModelProperty(value = "滑动的轨迹",name = "trackList")
    private List<ImageCaptchaTrack.Track> trackList;

    /** 校验令牌 验证码唯一UUID 生成令牌前返回 **/
    private String token;

    /** 扩展数据，用户传输加密数据等.*/
    @ApiModelProperty(value = "扩展数据，用户传输加密数据等",name = "data")
    private Object data;
}
